<?php

use yii\helpers\Url;

?>
<div id='layerD2D598B2CB4FB3EEFBF5BF4F80DBB520' type='unslider' class='cstlayer' style='left: 0px; top: 101px; position: absolute; z-index: 111; width: 1200px; height: 400px; opacity: 1;' mid="" deg='0'>
    <style>
        #layerD2D598B2CB4FB3EEFBF5BF4F80DBB520html5zoo-1{
            margin:0 auto;
        }
    </style>
    <div id="layerD2D598B2CB4FB3EEFBF5BF4F80DBB520_content" class="wp-unslider_content" style="overflow: hidden; border: none; left: -351.5px; width: 1903px; height: 400px; position: absolute;">
        <script type="text/javascript">

        </script>

        <!-- loop star -->
        <div id="layerD2D598B2CB4FB3EEFBF5BF4F80DBB520html5zoo-1">
            <ul class="html5zoo-slides" style="display:none;">

                <li><img alt="" src="/static/picture/bann4.jpg" class="html5lightbox"></li>

                <li><img alt="" src="/static/picture/bann7.jpg" class="html5lightbox"></li>

                <li><img alt="" src="/static/picture/bann5.jpg" class="html5lightbox"></li>
            </ul>
        </div>
        <!-- loop end -->

        <script language="javascript">
          (function(){
            var layerparams={"layerid":"layerD2D598B2CB4FB3EEFBF5BF4F80DBB520","pstyle":"none","plborder_size":"0","interval":5000,"autoplays":"true","title_size":"40","title_family":"SimSun","title_color":"#FFFFFF","easing":"fade","show_title":"1","show_nav":"0","navigation_style":"03","navbg_hover_color":"#6aa84f","nav_margin_bottom_size":"25","nav_arrow":"1","arrow_left":"template\/default\/images\/left_arrow.png","arrow_right":"template\/default\/images\/right_arrow.png","nav_margin_left_size":"25","nav_margin_right_size":"25","skin":"02","default_show":"1","hover_show":"0","pauseonmouseover":"0","nav_arrow_w_size":"32","nav_arrow_h_size":"32"};
            layer_unslider_init_func(layerparams);
          })()
        </script>
    </div>
</div>
<script>$('#layerD2D598B2CB4FB3EEFBF5BF4F80DBB520').triggerHandler('layer_ready');</script>
<div id="layer5AD052AFB4CC6FA6959A84A754CC13C8" class="full_column" style="width:1200px;position:absolute;top:500px;height:50px;z-index:105;">
    <div class="full_width" style="position:absolute;height:50px;background-color:#f4f4f4;background:;">		    </div>
    <div class="full_content" style="width:1200px; position:absolute;left:0;top:0;margin-left: 0px;;height:50px;">
        <div id='layerCE79A2D2A91E9FDCE7B2444FA65A06EB' type='breadcrumb' class='cstlayer' style='left: 14px; top: 16px; position: absolute; z-index: 117; width: 561px; height: 23px;' mid="" fatherid='layer5AD052AFB4CC6FA6959A84A754CC13C8' deg='0'>
            <div class="wp-breadcrumb_content" style="width: 561px; height: 23px;">
                <div class='breadcrumb_plugin'>

                    <span class="breadcrumbtext" gzdata="gzorder"><a href="/index.html" style="line-height:100%;color: rgb(0, 0, 0); font-size: 14px;
                    line-height: 120%; font-family: Microsoft YaHei; font-weight: bold;">网站首页</a></span>
                    <span style="line-height:100%; margin-left:5px;margin-right:5px;color:rgb(67, 67, 67);font-size:12px;" class="breadcrumbfuhao"> > </span>
                    <span class="breadcrumbtext">
                        <a href="/product.html" style="line-height:100%;color: rgb(0, 0, 0); font-size: 14px; line-height: 120%; font-family: Microsoft YaHei;
                        font-weight: bold;">产品展示</a>
                    </span>
                    <span style="line-height:100%; margin-left:5px;margin-right:5px;color:rgb(67, 67, 67);font-size:12px;" class="breadcrumbfuhao"> > </span>
                    <span class="breadcrumbtext"><a href="" style="line-height:100%;color: rgb(0, 0, 0); font-size: 14px; line-height: 120%; font-family:
                    Microsoft YaHei; font-weight: bold;"><?=$category->name?></a></span>
                </div>
            </div>
            <script>
              layer_breadcrumb_ready_func('layerCE79A2D2A91E9FDCE7B2444FA65A06EB', '');
            </script>
        </div>
        <script>$('#layerCE79A2D2A91E9FDCE7B2444FA65A06EB').triggerHandler('layer_ready');</script>
    </div>
</div>
<script>
  var $fullwidth=$('#layer5AD052AFB4CC6FA6959A84A754CC13C8 .full_width');
  $fullwidth.css({left:0-$('#canvas').offset().left+$('#scroll_container').offset().left-$('#scroll_container').scrollLeft()-$.parseInteger($('#canvas').css("borderLeftWidth")),width:$('#scroll_container_bg').width()});
  $(function () {
    var videoParams={"id":"layer5AD052AFB4CC6FA6959A84A754CC13C8","bgauto":null,"ctauto":null,"bVideouse":null,"cVideouse":null,"bgvHeight":null,"bgvWidth":null};
    fullcolumn_bgvideo_init_func(videoParams);
  });
</script>


<div id='layer5F193B196D2999CE450800009059D146' type='product_category' class='cstlayer' style='left: 515px; top: 500px; position: absolute; z-index: 130; width: 685px; height: 50px;' mid="" deg='0'>
    <script type="text/javascript">

    function wp_showdefaultHoverCss(layer_id){
      var layertype=$('#'+layer_id).attr('type');
      if(layertype && window['wp_showdefaultHoverCss_'+layertype]){
        return window['wp_showdefaultHoverCss_'+layertype](layer_id);
      }
      return false;
    }

    function wp_showdefaultHoverCss_product_category(layer_id)
    {
      var plugin_name=$("#"+layer_id).attr('type');
      var hover=$("#"+layer_id).find('.nav1').attr('hover');
      if(hover!=1){ return;}

      wp_getdefaultHoverCss(layer_id);
      var n=0;

      if(plugin_name=='new_navigation'){
        var page_id=$("#page_id").val();
        var rootpid=$("#page_id").attr("rpid")*1;
      }else{
        var page_id=$('#'+layer_id+'').find(".default_pid").html();
        if(page_id==0 || page_id.length==0){
          page_id=$('#nav_'+layer_id+'').children('li:first').attr('pid');
        }
      }

      $('#nav_'+layer_id+'').children('li').each(function(){
        var type_pid=$(this).attr('pid');
        if(type_pid==page_id){
          $(this).addClass("lihover").children('a').addClass("ahover");

        }else if(type_pid==rootpid){
          $(this).addClass("lihover").children('a').addClass("ahover");

        }

        if(window.location.href == $(this).find("a").attr("href") || window.location.href == $(this).find("a").attr("href")+"&brd=1"){  $(this).addClass("lihover").children('a').addClass("ahover"); }
        n++;
      });

      if(!$('#nav_'+layer_id+'').children('li.lihover').length){
        $('#nav_'+layer_id+' ul').children('li').each(function(){
          var lochref=window.location.href.replace(/^https?:/,'').replace(/&brd=1$/,'');
          var subahref= $(this).find('a').attr("href").replace(/^https?:/,'').replace(/&brd=1$/,'');
          if(lochref == subahref || lochref ==subahref+"&brd=1"){
            $(this).parents(".wp_subtop").addClass("lihover").children('a').addClass("ahover");
            return;
          }
        })
      }

      if(hover==1){
        if($('#nav_'+layer_id+'').children('li').children('a.ahover').length<1){
          $('#nav_'+layer_id+'').children('li:first').addClass("lihover").children('a').addClass("ahover");
        }
      }
    }
    var wp_showdefaultHoverCss_layer5F193B196D2999CE450800009059D146=wp_showdefaultHoverCss;
    function wp_addMoreButton(layer_id){
      var layertype=$('#'+layer_id).attr('type');
      if(layertype && window['wp_addMoreButton_'+layertype]){
        return window['wp_addMoreButton_'+layertype](layer_id);
      }
      return false;
    }
    function wp_addMoreButton_product_category(layer_id)
    {
      var firstLiTop = 0;
      var hasMore = false;
      $('#nav_'+layer_id).children('li.wp_subtop').each(function(i){
        if(i == 0) {firstLiTop = $(this).offset().top;return true;}
        if($(this).offset().top > firstLiTop)
        {
          $('#'+layer_id).data('hasMore','yes');//配置逻辑获取
          var more = $.trim($('#'+layer_id).children('.wp-product_category_content').children('.nav1').attr('more'));
          var doms = $(this).prev().prev().nextAll().clone();
          var objA = $(this).prev().children('a');
          if(objA.children('span').length > 0) objA.children('span').html(more);
          else objA.html(more);

          if(objA.hasClass('sub'))
          {
            objA.next('ul').empty();
            doms.appendTo(objA.next('ul'));
          }
          else
          {
            objA.after('<ul></ul>');
            doms.appendTo(objA.next('ul'));
            objA.addClass('sub');
          }

          $(this).prev().nextAll().remove();
          objA.next('ul').children('li').removeClass('wp_subtop');
          hasMore = true;

          objA.attr('href','javascript:void(0);');

          //点击"更多"弹出全站导航
          if($("#"+layer_id).find('.nav1').attr('moreshow') == 1)
          {
            objA.click(function (e){
              $('#'+layer_id).find('#basic-modal-content_'+layer_id).modal({
                containerId:'wp-product_category-simplemodal-container_'+layer_id,
                zIndex:9999,
                close:false,
                onOpen:function(dialog){
                  dialog.overlay.fadeIn('slow', function(){
                    dialog.container.slideDown('slow',function(){
                      dialog.data.fadeIn('slow','swing',function(){
                        $('.wp_menus').not('.wp_thirdmenu0').each(function(){
                          var left = $(this).parent().parent().children('a').eq(0).outerWidth()+5;
                          $(this).css({position:'relative',left:left+'px'});
                        });
                      });
                    });
                  });
                },
                onClose:function(dialog){
                  dialog.data.fadeOut('slow',function (){
                    dialog.container.slideUp('slow', function () {
                      dialog.overlay.fadeOut('slow', function () {
                        $.modal.close();
                      });
                    });
                  });
                }
              });
              return false;
            });
          }
          return false;
        }
      });
      if(!hasMore) $('#'+layer_id).data('hasMore','no');
      wp_showdefaultHoverCss(layer_id);
    }

    //编辑模式水平拖动动态刷新修改More按钮
    function wp_updateMoreButton(layer_id)
    {
      var $layer = $('#'+layer_id);
      var $nav1 = $layer.children('.wp-product_category_content').children('.nav1');
      var tmp_css = $.trim($("#datastys_"+layer_id).text());
      var tmp_cssa = $.trim($("#datasty_"+layer_id).text());
      $.post(parseToURL("product_category","refreshNavigator",{menustyle:$.trim($nav1.attr('skin')),saveCss:'yes',page_id:$("#page_id").val(),blockid:layer_id,typeval:$.trim($layer.find(".wp-product_category_content").attr('type')),colorstyle:$.trim($nav1.attr('colorstyle')),direction:$.trim($nav1.attr('direction')),more:$.trim($nav1.attr('more')),hover:$.trim($nav1.attr('hover')),moreshow:$.trim($nav1.attr('moreshow')),morecolor:$.trim($nav1.attr('morecolor'))}),function(data){
        $layer.find('.wp-product_category_content').html(data);
        $("#datastys_"+layer_id).text(tmp_css);

        var setcss=$("#page_set_css").html();
        setcss=setcss.replace(/<style>/i,'').replace(/<\/style>/i,'');
        var reg=new RegExp("(.*)([/][/*]"+layer_id+"[/*][/])(.*)([/][/*]"+layer_id+"[/*][/])(.*)","gmi");
        var url=setcss;
        var rep=url.replace(reg,"$1 $5");
        var tempcss=rep + " /*"+ layer_id +"*/ "+tmp_cssa+" "+tmp_css+" /*"+ layer_id +"*/ ";
        tempcss = tempcss.replace(/[\r\n]/g, " ").replace(/\s+/g, " ");
        $("#page_set_css").html('<style> '+tempcss+ '</style>');
      });
      wp_showdefaultHoverCss(layer_id);
    }


    function wp_removeLoading(layer_id)
    {

      var $nav1 = $('#'+layer_id).find(".nav1");
      var ishorizon=$nav1.attr("ishorizon");
      if(ishorizon=='1'){
        $("#"+layer_id).find('.wp-new_navigation_content').css({height:'auto',overflow:'hidden'});
      }else{
        $("#"+layer_id).find('.wp-new_navigation_content').css({width:'auto',overflow:'hidden'});
      }
      // 修复IE浏览器部分版本导航无法显示问题 2013/12/26

      var temptimer = setTimeout(function(){
        $("#"+layer_id).find('.wp-new_navigation_content').css("overflow", 'visible');
        clearTimeout(temptimer);
      }, 50);
    }
    </script>
    <div class="wp-product_category_content" id="wp-ptype_layer5F193B196D2999CE450800009059D146" style="border-color: transparent; border-width: 0px; width: 685px; height: 50px; border-style: solid; padding: 0px;">
        <script type="text/javascript">
          $("#layer5F193B196D2999CE450800009059D146").data("jeditMode",0);
          layer_prdcat_setvar({"isedit":0,"layerid":"layer5F193B196D2999CE450800009059D146"});
          $(function(){
            setTimeout(function(){
              var layerids = "ul#nav_layer5F193B196D2999CE450800009059D146";
              if($(layerids).find('.wp_subtop:last').children('a').html() == ""){
                $(layerids).find('.wp_subtop:last').children('a').html('更多');
              }
            },500)
          })

          var wp_showdefaultHoverCss_layer5F193B196D2999CE450800009059D146=wp_showdefaultHoverCss;
          $("#layer5F193B196D2999CE450800009059D146").data("datasty_", '@charset "utf-8";  ' +
            '#nav_layer5F193B196D2999CE450800009059D146, ' +
            '#nav_layer5F193B196D2999CE450800009059D146 ul {padding:0; margin:0; list-style:none; }  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 {padding-left:15px; padding-right:15px;position:relative; background-position:top left;background-repeat:repeat-x;background-color:transparent;background-image:url("/static/image/dbj.jpg");line-height:50px;height:50px; }  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop {text-align:center;float:left; height:50px;line-height:50px;background-image:url(/static/image/png_bg.png);background-color:transparent;background-position:top left;background-repeat:repeat;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{text-align:center; background-color:transparent;background-position:top left;height:50px;line-height:50px; background-image:url("/static/image/dhover.jpg");background-repeat:repeat-x;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a {white-space: nowrap;overflow:hidden;padding-left:15px;padding-right:15px;text-align:center;display:block;  font-family:arial; font-size:14px; color:#FFFFFF; text-decoration:none; font-weight:normal;font-style:normal;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{color:#333333;text-align:center;font-family:arial; font-size:14px; font-weight:normal;font-style:normal;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 ul{display:none;width:100%;position:absolute; top:38px; left:-9999px;background-image:url(/static/image/png_bg.png);background-repeat:repeat;background-color:transparent;background-position:top left;padding-bottom:3px;padding-top:3px;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 ul li{text-align:center;float:left; background-color:#fbfbfb;background-position:top left;background-repeat:repeat;background-image:url(/static/image/png_bg.png);height:25px;line-height:25px;font-weight:normal;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 ul li:hover{text-align:center;  background-position:top left;background-repeat:repeat;background-image:url(/static/image/png_bg.png);background-color:#2f2f2f;height:25px;line-height:25px;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 ul li a {white-space: nowrap;color:#666666;text-align:center;float:left; display:block; padding:0 10px 0 10px; font-family:arial; font-size:12px; text-decoration:none; font-weight:normal;font-style:normal;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 ul li a:hover{color:#fff;text-align:center;float:left; padding:0 10px 0 10px; font-family:arial; font-size:12px; text-decoration:none; font-weight:normal;font-style:normal;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 li ul.floatRight li {float:right;}  ' +
            '#nav_layer5F193B196D2999CE450800009059D146 ul ul {background-image:url(/static/image/png_bg.png);}');
          $("#layer5F193B196D2999CE450800009059D146").data("datastys_", '' +
            '#nav_layer5F193B196D2999CE450800009059D146{background-color:transparent;}' +
            '#nav_layer5F193B196D2999CE450800009059D146{background-image:url(/static/image/png_bg.png);}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-family:Microsoft YaHei;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-family:Microsoft YaHei;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-size:14px;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-size:14px;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{color:#ffffff;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-weight:normal;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-repeat:no-repeat;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-position:center center;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-image:url(/static/image/png_bg.png);}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{color:#000000;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 {height:50px;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{height:50px;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{line-height:50px;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{height:50px;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{line-height:50px;}' +
            '#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-color:#308301;}');
        </script>
        <div skin="hs9" class="nav1 menu_hs9" ishorizon="" colorstyle="black" direction="0" more="更多" moreshow="1" morecolor="darkorange" hover="1" subopen="" submethod="">
            <div id="datasty_layer5F193B196D2999CE450800009059D146" style="display:none;width:0px;height:0px;">
            </div>
            <div id="datastys_layer5F193B196D2999CE450800009059D146" style=" display:none; width:0px; height:0px;">
            </div>
            <div id="hoverlayer5F193B196D2999CE450800009059D146" style=" display:none; width:0px; height:0px;"></div>
            <ul id="nav_layer5F193B196D2999CE450800009059D146" class="navigation">
                <?php foreach ($menus as $key => $item) { ?>
                    <li style="width:25%;z-index:2;" class="wp_subtop"><a class="  " href="<?=Url::to(['/product/list/'.$key])?>"><span style="display:block;
                    overflow:hidden;"><?=$item?></span></a></li>
                <?php } ?>
            </ul>
            <div class="default_pid" style="display:none; width:0px; height:0px;">8</div>
        </div>
    </div>
    <script type="text/javascript">
      function layer5F193B196D2999CE450800009059D146_liHoverCallBack()
      {
        $(".menu_hs9 #nav_layer5F193B196D2999CE450800009059D146 li").hover(function(){
          $(this).children("ul").css("left", "0px").show();
        },function(){
          $(this).children("ul").hide();


        });

      }

      function layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss(css_pro,type)
      {
        var typeval=type;
        if(typeval==1){
          var regex = "#nav_layer[0-9|a-z|A-Z]+\\s+ul+\\s+li+\\s+a:\\s*hover\\s*{\\s*"+css_pro+"\\s*:[^;]+";
        }else if(typeval == 2){
          var regex = "#nav_layer[0-9|a-z|A-Z]+\\s+ul\\s+li\\s*{\\s*"+css_pro+"\\s*:[^;]+";
        }else if(typeval == 3){
          var regex = "#nav_layer[0-9|a-z|A-Z]+\\s+ul\\s+li\\s*:\\s*hover\\s*{\\s*"+css_pro+"\\s*:[^;]+";
        }
        else{
          var regex = "#nav_layer[0-9|a-z|A-Z]+\\s+li\.wp_subtop>a:\\s*hover\\s*{\\s*"+css_pro+"\\s*:[^;]+";
        }
        var navStyle = $.trim($("#layer5F193B196D2999CE450800009059D146").data("datastys_"));
        if(navStyle.length > 0)
        {
          var patt1 =new RegExp(regex,'i');
          var tmp = patt1.exec($.trim(navStyle));
          if(tmp)
          {
            return $.trim((tmp[0].match(/{[^:]+:[^;]+/)[0]).match(/:[^;]+/)[0].replace(':',''));
          }
        }
        navStyle = $.trim($("#layer5F193B196D2999CE450800009059D146").data("datasty_"));

        if(navStyle.length > 0)
        {
          if(typeval==1){
            var patt1 = new RegExp("#nav_layer[0-9|a-z|A-Z]+\\s+ul+\\s+li+\\s+a:\\s*hover\\s*{[^}]+}",'i');
          }else if(typeval == 2){
            var patt1 = new RegExp("#nav_layer[0-9|a-z|A-Z]+\\s+ul\\s+li\\s*{[^}]+}",'i');
          }else if(typeval == 3){
            var patt1 = new RegExp("#nav_layer[0-9|a-z|A-Z]+\\s+ul\\s+li\\s*:\\s*hover\\s*{[^}]+}",'i');
          }else{
            var patt1 = new RegExp("#nav_layer[0-9|a-z|A-Z]+\\s+li\.wp_subtop>a:\\s*hover\\s*{[^}]+}",'i');
          }
          var tmp = patt1.exec(navStyle);

          if(tmp)
          {
            var tmp1 = tmp[0].match(/{[^}]+}/)[0];
            var patt2 = new RegExp(css_pro+"\\s*:\\s*[^;]+;",'i');
            tmp = patt2.exec(tmp1);
            if(tmp) return $.trim(tmp[0].replace(/[^:]+:/,'').replace(';',''));
          }
        }

        return $.trim($("#nav_layer5F193B196D2999CE450800009059D146 ul li a").css(css_pro));
      }

      layer5F193B196D2999CE450800009059D146_liHoverCallBack;
      $(document).ready(function(){
        layer5F193B196D2999CE450800009059D146_liHoverCallBack();

        //第三级即下级菜单随高度增加位置动态修改
        $('#layer5F193B196D2999CE450800009059D146 .menu_hs9 li').hover(function(){
          $(this).children('ul').css('top',$(this).outerHeight());
        });

        function getSubMenuHoverCsslayer5F193B196D2999CE450800009059D146(css_pro,regex,isLi)
        {
          var navStyle = $.trim($("#layer5F193B196D2999CE450800009059D146").data("datastys_"));
          if(navStyle.length > 0)
          {
            var patt1 =new RegExp(regex,'i');
            var tmp = patt1.exec($.trim(navStyle));
            if(tmp)
            {
              return $.trim((tmp[0].match(/{[^:]+:[^;]+/)[0]).match(/:[^;]+/)[0].replace(':',''));
            }
          }
          navStyle = $.trim($("#layer5F193B196D2999CE450800009059D146").data("datasty_"));


          if(navStyle.length > 0)
          {
            var patt1 = new RegExp("#nav_layer[0-9|a-z|A-Z]+\\s+ul\\s+li\\s+a\\s*\\s*{[^}]+}",'i');
            if(isLi)
              patt1 = new RegExp("#nav_layer[0-9|a-z|A-Z]+\\s+ul\\s+li\\s*\\s*{[^}]+}",'i');
            var tmp = patt1.exec(navStyle);

            if(tmp)
            {
              var tmp1 = tmp[0].match(/{[^}]+}/)[0];
              var patt2 = new RegExp(css_pro+"\\s*:\\s*[^;]+;",'i');
              tmp = patt2.exec(tmp1);
              if(tmp) return $.trim(tmp[0].replace(/[^:]+:/,'').replace(';',''));
            }
          }
          return false;
        }

        $("#layer5F193B196D2999CE450800009059D146 li").hover(function(){
          var thisleft=$(this).offset().left;
          var thiswidth=$(this).outerWidth();
          //父中心点坐标
          var thiswidthcenter=0;
          //子中心点坐标
          var thischildwidthcenter=0;
          var orgleft = $("#layer5F193B196D2999CE450800009059D146").offset().left;
          var orgright = $("#layer5F193B196D2999CE450800009059D146").outerWidth();
          orgright=orgright+orgleft;
          thiswidthcenter=thisleft+thiswidth/2;

          //计算子菜单总宽度
          var childlidom=$(this).children('ul').children('li');
          var childliwidth=0;
          childlidom.each(function(){
            childliwidth=childliwidth+$(this).outerWidth();
          });

          thischildwidthcenter=childliwidth/2;
          var chavalue=thiswidthcenter-thischildwidthcenter;
          var charightvalue=thiswidthcenter+thischildwidthcenter;

          var ulwidth=$("#layer5F193B196D2999CE450800009059D146").width();
          if(chavalue<orgleft && charightvalue>orgright){
            //超出边界不做处理
          }else{
            if(chavalue>orgleft && charightvalue<orgright){
              $(this).children("ul:eq(0)").css("padding-left", (chavalue-orgleft)+"px");
              if(ulwidth>0){
                $(this).children("ul:eq(0)").css("width", (ulwidth-chavalue+orgleft)+"px");
              }
            }else{
              if(chavalue>orgleft && charightvalue>orgright){
                $(this).children("ul:eq(0)").css("padding-left", (ulwidth-childliwidth)+"px");
                if(ulwidth>0){
                  $(this).children("ul:eq(0)").css("width", (childliwidth)+"px");
                }
              }
            }
          }

          if(!$(this).hasClass('wp_subtop'))
          {
            $(this).css('background-image',layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss('background-image',3));
            $(this).css('background-repeat',layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss('background-repeat',3));
            $(this).css('background-color',layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss('background-color',3));
            $(this).css('background-position',layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss('background-position',3));
          }
          if($(this).children('ul').length > 0)
          {
            $(this).children('ul').css('background-image',layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss('background-image',2));
            $(this).children('ul').css('background-repeat',layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss('background-repeat',2));
            $(this).children('ul').css('background-color',layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss('background-color',2));
            $(this).children('ul').css('background-position',layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss('background-position',2));

            $(this).children('ul').children('li').css({'background-image':'none','background-color':'transparent'});
          }

        },function(){
          if(!$(this).hasClass('wp_subtop'))
            $(this).css({'background-color':'transparent','background-image':'none'});
          $(this).children("ul:eq(0)").css("left", "-99999px").hide();
        });

        $('.menu_hs9 #nav_layer5F193B196D2999CE450800009059D146').find('li').hover(function(){
          var direction=$("#layer5F193B196D2999CE450800009059D146").find('.nav1').attr('direction');
          var height = parseInt($(this).outerHeight());
          if(direction==1){
            $(this).children('ul').css('top','auto').css('bottom',height + 'px');
          }else{
            $(this).children('ul').css('top',height+'px').css('bottom','auto');
          }
          if($(this).parent().hasClass('navigation'))
          {
            $(this).children('a').css({'font-family':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("font-family",0),'font-size':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("font-size",0),'color':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("color",0),'font-weight':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("font-weight",0),'font-style':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("font-style",0)});
          }else{
            $(this).children('a').css({'font-family':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("font-family",1),'font-size':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("font-size",1),'color':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("color",1),'font-weight':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("font-weight",1),'font-style':layer5F193B196D2999CE450800009059D146_getSubMenuHoverCss("font-style",1)});
          }
          if($(this).parent().hasClass('navigation'))
          {
            $('#nav_layer5F193B196D2999CE450800009059D146 .wp_subtop').removeClass("lihover").children('a').removeClass("ahover");
          }
        },function(){
          if($(this).parent().hasClass('navigation'))
          {
            wp_showdefaultHoverCss('layer5F193B196D2999CE450800009059D146');
          }
          $(this).children('a').attr("style",'');
        });
        wp_showdefaultHoverCss('layer5F193B196D2999CE450800009059D146');
        wp_removeLoading('layer5F193B196D2999CE450800009059D146');
      });
    </script>
    <script>
      $("#layer5F193B196D2999CE450800009059D146").layer_ready(function(){
        var el = $("#layer5F193B196D2999CE450800009059D146");
        var menustyle="hs9";
        var contentfunc=function(intrigger){
          if(el.is(':visible')){
            el.find('.wp-product_category_content').each(function(){
              var wid = $(this).width();
              var liwid = $(this).find('li:eq(0)');
              if(!intrigger){
                $('li.wp_subtop', this).each(function(){
                  $(this).data('oriliw',$(this).width());
                })
              }
              var lipadd = parseInt(liwid.css('padding-right'))+parseInt(liwid.css('padding-left'));
              if ($.inArray(menustyle, ['hs7','hs9','hs11','hs12']) != -1) {
                var bwidth = parseInt(liwid.css("borderRightWidth") || '0');
                if(bwidth > 0 || intrigger){
                  $('li.wp_subtop', this).width(function(i, h){
                    h=$(this).data('oriliw');
                    return h - bwidth - 1
                  });
                }
              }
              if(parseInt(liwid.width())>(wid-lipadd)){
                $(this).find('li.wp_subtop').css('width',wid-lipadd);
              }
            });
            var contenth=el.find(".wp-product_category_content").height();
            if(contenth==0){
              el.find(".wp-product_category_content").css('height','');
            }
          }else{
            setTimeout(contentfunc,60);
          }
        }
        contentfunc();
      })
    </script>
    <script>
      $(function(){
        var options=$.extend({},{"morecolor":"darkorange",
          "moreshow":"1",
          "hover":"1",
          "subopen":"",
          "submethod":"",
          "more":"\u66f4\u591a",
          "direction":"0",
          "colorstyle":"black",
          "menustyle":"hs9",
          "typeval":"",
          "customcss":"" +
            "#nav_layer5F193B196D2999CE450800009059D146{background-color:transparent;}" +
            "#nav_layer5F193B196D2999CE450800009059D146{background-image:url(plugin\/product_category\/view\/images\/png_bg.png);}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-family:Microsoft YaHei;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-family:Microsoft YaHei;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-size:14px;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-size:14px;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{color:#ffffff;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-weight:normal;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-repeat:no-repeat;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-position:center center;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-image:url(plugin\/product_category\/view\/images\/png_bg.png);}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{color:#000000;}" +
            "#nav_layer5F193B196D2999CE450800009059D146{height:50px;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{height:50px;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{line-height:50px;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{height:50px;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{line-height:50px;}" +
            "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-color:#308301;}",
          "oldparam":{"pcids":"8,9,10,11,13",
            "showtype":"mhover",
            "link":"123",
            "isfirst":"true",
            "version":"2",
            "openNewWindow":"0",
            "morecolor":"darkorange",
            "moreshow":"1","hover":"1","more":"\u66f4\u591a","direction":"0","colorstyle":"black","menustyle":"hs9","typeval":"",
            "customcss":"" +
              "#nav_layer5F193B196D2999CE450800009059D146{background-color:transparent;}" +
              "#nav_layer5F193B196D2999CE450800009059D146{background-image:url(plugin\/product_category\/view\/images\/png_bg.png);}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-family:Microsoft YaHei;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-family:Microsoft YaHei;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-size:14px;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-size:14px;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{color:#ffffff;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-weight:normal;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-repeat:no-repeat;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-position:center center;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-image:url(plugin\/product_category\/view\/images\/png_bg.png);}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{color:#000000;}" +
              "#nav_layer5F193B196D2999CE450800009059D146{height:50px;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{height:50px;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{line-height:50px;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{height:50px;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{line-height:50px;}" +
              "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-color:#308301;}",
            "oldparam":{"pcids":"8,9,10,11,13","showtype":"mhover","link":"123","isfirst":"true","version":"2","openNewWindow":"0","morecolor":"darkorange",
              "moreshow":"1","hover":"1","more":"\u66f4\u591a","direction":"0","colorstyle":"black","menustyle":"hs9","typeval":"",
              "customcss":"" +
                "#nav_layer5F193B196D2999CE450800009059D146{background-color:transparent;}" +
                "#nav_layer5F193B196D2999CE450800009059D146{background-image:url(plugin\/product_category\/view\/images\/png_bg.png);}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-family:Microsoft YaHei;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-family:Microsoft YaHei;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-size:14px;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-size:14px;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{color:#ffffff;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-weight:normal;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-repeat:no-repeat;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-position:center center;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-image:url(plugin\/product_category\/view\/images\/png_bg.png);}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-color:#ff9900;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{color:#000000;}" +
                "#nav_layer5F193B196D2999CE450800009059D146{height:50px;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{height:50px;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{line-height:50px;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{height:50px;}" +
                "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{line-height:50px;}",
              "oldparam":{"pcids":"8,9,10,11,13","showtype":"mhover","link":"123","isfirst":"true","version":"2","openNewWindow":"0","morecolor":"darkorange",
                "moreshow":"1","hover":"1","more":"\u66f4\u591a","direction":"0","colorstyle":"black","menustyle":"hs9","typeval":"",
                "customcss":"" +
                  "#nav_layer5F193B196D2999CE450800009059D146{background-color:transparent;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146{background-image:url(plugin\/product_category\/view\/images\/png_bg.png);}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-family:Microsoft YaHei;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-family:Microsoft YaHei;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{font-size:14px;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-size:14px;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{color:#ffffff;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a:hover{font-weight:normal;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-repeat:no-repeat;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-position:center center;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-image:url(plugin\/product_category\/view\/images\/png_bg.png);}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{background-color:#ff9900;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop>a{color:#000000;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146{height:50px;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{height:50px;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop{line-height:50px;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{height:50px;}" +
                  "#nav_layer5F193B196D2999CE450800009059D146 li.wp_subtop:hover{line-height:50px;}","userstyle":{"skin":"skin5"},"subopen":"","submethod":""},
              "userstyle":{"skin":"skin5"},"subopen":"","submethod":"","refreshProductCategory":"yes"},
            "userstyle":{"skin":"skin5"},"subopen":"","submethod":"","refreshProductCategory":"yes"},
          "userstyle":{"skin":"skin5","styles":[]}
        });
        $('#layer5F193B196D2999CE450800009059D146').mod_property(options);
        $('#wp-product_category-style').data('userstyle',options['userstyle']);
        $('#wp-product_category-style').trigger('setStyle');
        $('#layer5F193B196D2999CE450800009059D146').find('.mask').css({'width':$('#layer5F193B196D2999CE450800009059D146').width(),height:$('#layer5F193B196D2999CE450800009059D146').height()}).show();
      });
    </script>
</div>
<script>$('#layer5F193B196D2999CE450800009059D146').triggerHandler('layer_ready');</script>
<div id='layerBFCC82BF3434B33EEDA67D78EF766C6C' type='product_list' class='cstlayer' style='left: 0px; top: 570px; position: absolute; z-index: 132; width: 1200px; height: 749px;' mid="" deg='0'>
    <script language="javascript">
      $(window).load(function(){
        wp_heightAdapt($('#layerBFCC82BF3434B33EEDA67D78EF766C6C'));
        window.scroll_container_adjust();
        var oriheight=$('#layerBFCC82BF3434B33EEDA67D78EF766C6C').data('oriheight');
        if(oriheight && $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').height()-oriheight>200){
          setTimeout(function(){
            wp_heightAdapt($('#layerBFCC82BF3434B33EEDA67D78EF766C6C'));
            window.scroll_container_adjust();
          },1000)
        }
      });
      function set_thumb_layerBFCC82BF3434B33EEDA67D78EF766C6C(obj) {
        var callback=function(img){
          img.fadeIn('slow',function(){
            img.closest('.img,.wp-new-product-style-01-left').children('.imgloading').remove();
          });
        }
        $(obj).each(function() {
          var img=$(this);
          callback(img);
        });
      }
      $(function(){
        $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find('.wp-new-ar-pro-style-description').each(function(){
          if($(this).find('textarea').length){
            $(this).html($(this).find('textarea').val());
          }
        })
      })
      if ("01" === "01") {
        $(document).ready(function (){
          var maxliheight = 0,tmplayerid = "#layerBFCC82BF3434B33EEDA67D78EF766C6C";
          if (tmplayerid.length == 1) return;
          var $tmpnode = $(tmplayerid+' li > .wp-new-article-style-c');
          $tmpnode.css('height','auto');
          maxliheight = Math.max.apply(null,$tmpnode.map(function(){
            return $(this).outerHeight();
          }).toArray());
          var prdbacheight = '0';
          if ("01" === "01" && prdbacheight != '0') {
            maxliheight = prdbacheight;
          }
          if (maxliheight) $tmpnode.height(maxliheight);
          // 右间距 2014/03/17
          $(tmplayerid).unbind("fixedmarginright").bind("fixedmarginright", function(e, margin){
            var $target = $(this),$li = $target.find('li.wp-new-article-style_lis');
            if(margin != undefined) {$li.css("margin-right", margin+'px');}
            else {/*动态获取margin-right*/$li.css("margin-right", $li.filter(':first').css("margin-right"));}
            var $first = $li.filter(':first');
            if($li.length > 0){
              liwidth = $first.width() +
                parseInt( $first.css("padding-left").match(/\d+/) ) + parseInt( $first.css("padding-right").match(/\d+/) ) +
                parseInt( $first.css("border-left-width") ) * 2, //30、6 li的padding和border

                mgnright = $._parseFloat($first.css("marginRight")),
                maxwidth = $target.children('.wp-product_list_content').width();
              if($.browser.msie && $.browser.version < 9){
                liwidth = liwidth = $first.width() +
                  parseInt( $first.css("padding-left").match(/\d+/) ) + parseInt( $first.css("padding-right").match(/\d+/) );
              }
              var maxcols = Math.floor(maxwidth / (liwidth + mgnright));
              if(maxwidth >= maxcols * (liwidth + mgnright) + liwidth) maxcols += 1;
              for(var i = 1,licnt = $li.length; i <= licnt; i++){
                if (i % maxcols != 0) continue;
                if ((maxcols == 1) && (2*liwidth <= maxwidth)) continue;
                $li.filter(':eq('+(i - 1)+')').css("margin-right", '0');
              }
            }

            $curlayer = $li = null;

          }).triggerHandler("fixedmarginright");
          // <<End

          tmplayerid = $tmpnode = null;
        });
      }
      $(function(){
        function inlineToDisplay(){
          if($.browser.msie){
            var $imgs = $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find('img.img_lazy_load');
            if($imgs.length > 0){
              // fixed bug#4411
              var nwidth = $._parseFloat('352'),
                ihack = (nwidth && ($.browser.version<9) && ('Proportion'=='210'))?true:false;
              $imgs.each(function(){
                if($(this).css('display') == 'inline'){
                  $(this).css('display','block');
                  // fixed bug#4411
                  ihack && $(this).parent('a').css({"display": 'inline-block',"width": nwidth+'px'});
                }
              });
            }
          }
        }
        inlineToDisplay();
      });
    </script>
    <div class="wp-product_content wp-product_list_content" style="border-color: transparent; border-width: 0px; overflow: hidden; width: 1200px; height: 749px;">
        <div skin="01" class="wp-product_css wp-product_list_css" style="display:none;">
            <script type="text/javascript">

            </script>
        </div>
        <div class="product_list-layerBFCC82BF3434B33EEDA67D78EF766C6C" style="overflow:hidden;">
            <ul style='margin:0px;'>

<?php foreach ($list as $key => $product) { ?>
<li class="wp-new-article-style_lis" style="vertical-align:top;width:352px;margin-right:22px;;margin-bottom:20px;	">
<div class="img" style="height:220px;width:352px;text-align:center;vertical-align:middle;display:table-cell;">
    <div class="imgloading" style="height:218px;width:350px;"></div>
    <a href="<?=Url::to(['/product/view/'.$key])?>" class="aeffect">
        <img src="/static/picture/blank.gif" data-original="<?=$product->thumb?>" class="wp-product_list-thumbnail img_lazy_load" style="position: relative;max-width:352px;margin:0 auto;max-height:220px;height:220px;width:352px;" alt="<?=$product->title?>">
    </a>
</div>
<div class="wp-new-article-style-c">
    <p class="title" style="font: normal 120% 'Microsoft yahei', Arial, Verdana;"><a href="<?=Url::to(['/product/view/'.$key])?>"><?=$product->title?></a></p>
    <p class="category_p"><span class="category"><a href="javascript:void(0);">玉兰科</a></span></p>
    <p class="wp-new-ar-pro-style-price market_price"><label class="list_price_f_title">市场价:</label><span class="list_price_f">0.00</span></p>
    <p class="wp-new-ar-pro-style-price" id="price"><label class="price_f_title">价格:</label><span class="price_f">0.00</span></p>
    <div class="wp-new-ar-pro-style-description">
        <textarea style="display:none;">
            <?=$product->summary?>
        </textarea>
    </div>
</div>
<input type="hidden" class="product_desc" data-desc="<?=$product->summary?>">
</li><?php } ?>
            </ul>
            <style>
                <!--
                #layerBFCC82BF3434B33EEDA67D78EF766C6C .wp-new-article-style_lis:hover {
                    border-color:#308301;}
                #layerBFCC82BF3434B33EEDA67D78EF766C6C .wp-new-article-style_lis{
                }
                -->
            </style>
    </div>
    <script language="javascript">
      // 修复“chrome下部分图片不显示（bug#4322）”问题 2015/11/17
      var chromebug = $('#scroll_container').data('chrome_bug');
      var imgcontainer = chromebug ? window : $('#scroll_container');
      $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find('img.img_lazy_load').lazyload({
        threshold  : 300,
        failure_limit : $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find('img.img_lazy_load').length,
        container : imgcontainer,
        placeholder:"/static/image/blank.gif",
        load:function(){
          var self=$(this);
          var id=self.closest('.cstlayer').prop('id');
          if(window['set_thumb_'+id]) window['set_thumb_'+id](this);
        }
      });
      function showlazyimg(){
        setTimeout(function(){
          $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find('img.img_lazy_load').lazyload({
            threshold  : 300,
            failure_limit : $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find('img.img_lazy_load').length,
            container : $('#scroll_container'),
            placeholder:"/static/image/blank.gif",
            load:function(){
              var self=$(this);
              var id=self.closest('.cstlayer').prop('id');
              if(window['set_thumb_'+id]) window['set_thumb_'+id](this);
              var img_border_txtsize = parseInt('0');
              self.width(parseInt(self.width())-img_border_txtsize).height(parseInt(self.height())-img_border_txtsize);
            }
          });

        },200)

      }
      showlazyimg();
    </script>
    <script language="javascript">
      $(function(){
        var pageskips = '2';
        var layerid = "layerBFCC82BF3434B33EEDA67D78EF766C6C",$cstlayer = $('#'+layerid),
          $pglnker = $cstlayer.find('.wp-product_list_content .wp-pager_link');
        $pglnker.find('a').unbind("click.te").bind("click.te", function(e,page){
          var urlhrf = $(this).attr("href");
          if(urlhrf.indexOf("##")>-1){
            e.preventDefault();
            e.stopPropagation();
            var pageid = page||$(this).attr("href").replace("###",'');
            if("" == "1") $.method.product_list.refreshProductList({"page":pageid,"layerid":layerid});
            else {
              var dom = $cstlayer.find('.product_list_save_itemList'),
                params = {};
              //if($.browser.msie){
              if(pageid!= $("#"+layerid).data("pagecid") && $("#"+layerid).data("pagecid")){
                return false;
              }
              //}
              $.ajax({
                type: "GET",
                url: parseToURL("product_list","get_page"),
                data: {product_category:"8",product_category_more:8,layer_id: layerid,page: pageid},
                success: function(data){
                  var $layer = $("#"+layerid);
                  var prediv = $layer;
                  prediv.data('pagecid',pageid);
                  setTimeout(function(){prediv.data('pagecid','');},500);
                  var oldHeight = $layer.find('.product_list-'+layerid).height();
                  $layer.children('.wp-product_list_content').before(data).remove();
                  var this_dom = $('#'+layerid);
                  this_dom.find(".wp-pager_link").css({'position':'relative','bottom':'auto','width':'100%'});
                  wp_heightAdapt($layer);
                  var cheight = this_dom.find(".wp-product_content").height();
                  var oulheight = this_dom.find(".product_list-"+layerid).height();
                  var olkheight = this_dom.find(".wp-pager_link").outerHeight();
                  if(cheight>oulheight+olkheight){
                    this_dom.find(".wp-pager_link").css({'position':'absolute','bottom':'0px','width':'100%'})
                  }

                  var oriheight=$layer.data('oriheight');
                  if(oriheight && $layer.height()-oriheight>200){
                    setTimeout(function(){
                      var this_dom = $('#'+layerid);
                      this_dom.find(".wp-pager_link").css({'position':'relative','bottom':'auto','width':'100%'});
                      wp_heightAdapt($layer);
                      var cheight = this_dom.find(".wp-product_content").height();
                      var oulheight = this_dom.find(".product_list-"+layerid).height();
                      var olkheight = this_dom.find(".wp-pager_link").outerHeight();
                      if(cheight>oulheight+olkheight){
                        this_dom.find(".wp-pager_link").css({'position':'absolute','bottom':'0px','width':'100%'})
                      }
                    },1000)
                  }




                }
              });

              //explain:产品列表模块刷新后将页面定位到该模块距离浏览器顶部的距离,author:fpf,date:2014-12-18,action:modify;
              //1/定位到网站页首2/定位到产品列表页首
              if(pageskips == 1){
                $('#scroll_container').scrollTop(0);
              } else if(pageskips == 2){

                var product_listtop = $cstlayer.css('top').replace('px','');
                var father = $cstlayer.attr('fatherid')||'';
                if(father){
                  var father_top = $('#'+father).css('top').replace('px','');
                  product_listtop = parseInt(product_listtop)+parseInt(father_top);
                  if($("#"+father).length>0){
                    var fathers = $("#"+father).attr('fatherid')||'';
                    if(fathers){
                      var father_tops = $('#'+fathers).css('top').replace('px','');
                      product_listtop = parseInt(product_listtop)+parseInt(father_tops);
                    }
                  }
                }

                if(product_listtop){$('#scroll_container').scrollTop(product_listtop);}
              }
            }
            return false;
          }
        });
        if($.cookie('wp_layer_page_'+layerid) && $.cookie('wp_layer_page_'+layerid) != 1&&!$.browser.msie){
          $pglnker.find('a:first').trigger('click',$.cookie('wp_layer_page_'+layerid));
        }
        // About input
        $pglnker.find(':input').each(function(i,dom){
          var $input = $(this),ent = pgid = '',fnc;
          switch($input.attr("type")) {
            case "text":
              ent = 'keyup';
              fnc = function(){
                pgid = this.value = this.value.replace(/(?:\b0|[^\d+])/i,'');
                return false;
              };
              break;
            case "button":
              ent = 'click';
              fnc = function(){
                if (pgid.length && /^[1-9]{1}\d*$/.test(pgid)) {
                  var maxpg = _int($pglnker.find('span.total').html());
                  if(!maxpg) maxpg = 1;
                  $pglnker.find('a').triggerHandler('click',[Math.min(pgid,maxpg)]);
                }
                function _int(numString){
                  var number = parseInt(numString);
                  if(isNaN(number)) return 0;
                  return number;
                }
                return false;
              };
              break;
          }
          if(fnc && $.isFunction(fnc)) $input[ent](fnc);
        });
      });
      $(window).load(function(){
        $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find(".wp-pager_link").css({'position':'relative','bottom':'auto','width':'100%'});
        wp_heightAdapt($('#layerBFCC82BF3434B33EEDA67D78EF766C6C'));
        var cheight = $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find(".wp-product_content").height();
        var oulheight = $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find(".product_list-layerBFCC82BF3434B33EEDA67D78EF766C6C").height();
        var olkheight = $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find(".wp-pager_link").outerHeight();
        if(cheight>oulheight+olkheight){
          $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').find(".wp-pager_link").css({'position':'absolute','bottom':'0px','width':'100%'})
        }
      })
    </script>
    <script>
      $(function () {
        var $curlayer=$('#layerBFCC82BF3434B33EEDA67D78EF766C6C');
        $curlayer.find('.mask').mouseover(function () {
          $(this).css('z-index','-1001');
        })
        $curlayer.find('.wp-product_list-thumbnail').mouseover(function (event) {
          event.stopPropagation();
          $(this).data('over',1);
          var running=$(this).data('run');
          var effect=$curlayer.data('wopop_imgeffects');
          var $this=$(this);
          if(effect && running!=1){
            $this.setimgEffects(true,effect,1);
            var effectrole = effect['effectrole'];
            var dset = effect['dset'];
            if(effectrole !='dantu' && typeof(dset)!="undefined"){
              var temp_effect = {};
              temp_effect['type'] = effect['type'];
              temp_effect['effectrole'] = 'dantu';
              temp_effect['effect'] = effect['dset']['effect'];
              temp_effect['duration'] =  effect['dset']['duration'];
              $this.setimgEffects(true,temp_effect,1);
            }
          }
        });
      });
    </script>
</div>
<script>
  $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').data('wopop_imgeffects',{"effect":"effect.fade","effectrole":"blur","duration":"350",
    "popcolor":"#000000","opacity":50,"src":"\/static\/image\/Search.png","background-image":"none","type":"product_list","delay":0,"loop":0,
    "loop_infinite":0});
  $('#layerBFCC82BF3434B33EEDA67D78EF766C6C').triggerHandler('layer_ready');
</script>
